package com.lzh.prometheus.pojos;

import com.lzh.prometheus.properties.enums.ProjectEnviromentEnum;

import java.time.LocalDateTime;

/**
 * @author zhehen.lu
 * @date 2025/8/15 9:42
 */
public class PromethuesNotice {
    /**
     * 通知标题
     */
    protected String title;

    /**
     * 工程环境
     */
    protected ProjectEnviromentEnum projectEnviromentEnum;

    /**
     * 通知时间
     */
    protected LocalDateTime createTime = LocalDateTime.now();

    /**
     * @param title
     * @param projectEnviromentEnum
     */
    public PromethuesNotice(String title, ProjectEnviromentEnum projectEnviromentEnum) {
        this.title = title;
        this.projectEnviromentEnum = projectEnviromentEnum;
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the projectEnviroment
     */
    public ProjectEnviromentEnum getProjectEnviroment() {
        return projectEnviromentEnum;
    }

    /**
     * @param projectEnviromentEnum the projectEnviroment to set
     */
    public void setProjectEnviroment(ProjectEnviromentEnum projectEnviromentEnum) {
        this.projectEnviromentEnum = projectEnviromentEnum;
    }

    /**
     * @return the createTime
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime the createTime to set
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
